package ps.yj.y1j0.data.database;

import ps.yj.y1j0.data.YJOrderBy;
import ps.yj.y1j0.data.YJWhere;

/**
 * @author yanjun
 */
public interface YJSqlManager {

    public String createInsert(String tableName, String idProperty, String[] properties);

    public String createUpdate(String tableName, String idProperty, String[] properties);

    public String createDelete(String tableName, String idProperty, int idCount);

    public String createSelect(String selectSql, YJWhere[] whereArray, YJOrderBy[] orderByArray, String[] groupByArray);

    public String createTable(String tableName, String idProperty, String[] properties);

//    public String alertTable(String tableName, String[] properties);

    public String dropTable(String tableName);

    public String checkTable(String tableName);
}
